From: Alexander Couzens Date: Thu, 6 Feb 2025 17:28:27 +0000 (+0100) Subject: uqmid: osmocom/fsm: add member N X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=62402025464b05e239527cd480276d9f44016edf;p=project%2Fuqmi.git uqmid: osmocom/fsm: add member N The N variable counts how often a timer timed out. It is used in many 3gpp specs to trigger a failure case when 3x times the timer timed out. Signed-off-by: Alexander Couzens --- diff --git a/uqmid/osmocom/fsm.h b/uqmid/osmocom/fsm.h index a4ca562..2fcdb86 100644 --- a/uqmid/osmocom/fsm.h +++ b/uqmid/osmocom/fsm.h @@ -102,6 +102,8 @@ struct osmo_fsm_inst { /*! timer number for states with time-out */ int T; + /*! number for time the timer timed out */ + int N; /*! timer back-end for states with time-out */ struct osmo_timer_list timer;